git am
命令手册Apply patch files. Useful when receiving commits via email. See also
git format-patch
, which can generate patch files. More information: https://git-scm.com/docs/git-am.
git am {{path/to/file.patch}}
git am --abort
git am --reject {{path/to/file.patch}}